package com.yf.course.modules.course.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.util.Date;

/**
* <p>
* 学习刷脸记录实体类
* </p>
*
* @author 聪明笨狗
* @since 2022-04-25 11:26
*/
@Data
@TableName("el_course_face_record")
public class CourseFaceRecord extends Model<CourseFaceRecord> {

    private static final long serialVersionUID = 1L;

    /**
    * ID
    */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
    * 课程ID
    */
    @TableField("course_id")
    private String courseId;

    /**
    * 课件ID
    */
    @TableField("file_id")
    private String fileId;

    /**
    * 用户ID
    */
    @TableField("user_id")
    private String userId;

    /**
    * 是否成功
    */
    private Boolean success;

    /**
    * 图片对象
    */
    private String image;

    /**
    * 刷脸时间
    */
    @TableField("create_time")
    private Date createTime;

    /**
    * 实际失效时间
    */
    @TableField("expire_time")
    private Date expireTime;

}
